/* tanh example */
#include <stdio.h>
#include <math.h>

int main ()
{
  double param, result;
  param = log(2.0);
  result = tanh(param);
  printf("The hyperbolic tangent of %lf is %lf.\n", param, result);
  return 0;
}